home *** CD-ROM | disk | FTP | other *** search
- $numdevs{$name} = 32;
- $stddevs{$name} = "^(input/(mice|mouse[0-1]\d*))\$";
-
- $generate{$name} = sub {
- mkdir "input", 0755;
- if ($i == 31) {
- &$MkNod ("public", "input/mice", "c", 13, 63 );
- } else {
- &$MkNod ("public", sprintf("input/mouse%d", $i), "c", 13, $i + 32);
- }
- }
-